<?php
	$sesMem = $this->session->userdata('sess_memId');
	$person_id = $infoPerson['id'];
?>
<div class="col-lg-10">
	<div class="row" id="list-video-person">
	</div><!--End row -->
		<div class="row" style="text-align:center">
			<button class="btn btn-small" id="load_more_video_btn" type="button" onclick="load_more_video('<?=$person_id?>')">Load more video</button>
		</div>
	<div class="row" style="padding-top:30px">
		<div class="col-lg-12">
			<h3>Add your video (<a href="http://www.youtube.com/watch?v=k6M-zD0hNew" rel="prettyPhoto" title="">How to get video from Youtube. Please click here</a>)</h3>
			<div class="form-inline">
				<input type="text" id="url_video" class="form-control" style="width:60%" placeholder="Enter your video">
				<button type="button" id="btn-add_video" class="btn" onclick="add_video('<?=$sesMem?>', '<?=$person_id?>')">Post</button>
			</div>
		</div>
		
	</div>
</div>

<script type="text/javascript">
	$(document).ready(function() {
		load_videos('<?=$person_id?>');
		$("a[rel^=prettyPhoto]").prettyPhoto();
	})
</script>